export function generateRandomFileName() {
  const characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
  const length = 8
  let randomFileName = 'image_'

  for (let i = 0; i < length; i++)
    randomFileName += characters.charAt(Math.floor(Math.random() * characters.length))

  return randomFileName
}
